<!DOCTYPE html>
<html>

<head>
	<title>标题</title>
</head>
<script>
	function bttu() {
		alert("已提交！");
	}
	function bttu1() {
		alert("窗口失去焦点运行脚本");
	}
</script>

<body>
	<header id="myheader" class="" style="color: green">这是个头</header>
	<div id="mydiv" style="color:blue" data-tname="data-tname">
		<a href="http://www.w3school.com.cn">这是一个超链接 w3c，This is a paragraph</span>换行！
		</a>
		<form action="asp" method="get" id="user">
			First name:
			<input type="text" name="fname" data-input="input" />
			<input type="submit" />
		</form>
		<table>
			<thead>
				<tr>
					<td>THEAD 中文本</td>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>TBODY 中文本</td>
				</tr>
			</tbody>
		</table>
		图片：<img src="tulip.jpg" alt="紫金山" />
		选择列表：<select id="cars" style="color:black">
			<option value="Iq">
			<option value="Eq">
			<option value="Ie">
		</select>
		<button type="button" value="提交" onclick="bttu();"></button>
		<button type="button" value="提交" onblur="bttu1();"></button>
		<input type="button" onclick="copyText()" value="按钮" data-index="10" data-index-color="red">
		<input type="text" title="按鍵输入框" onkeydown="displayResult()">
	</div>
</body>

</html>